package com.chaochis.springboottestdemo.enumList;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum LogType {
  LogRequest("request", 0),
  LogResponse("response", 1);
  @EnumValue
  private final String value;
  private final Integer id;
  LogType(String value, Integer id) {
    this.value = value;
    this.id = id;
  }
}
